Manage an overall debug state, and associated hint substates.

Optional Dependency: lua52, lua53.
Default support for all versions of Lua installed before build.
